package cn.wetcland.urban.generator.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName ut_driver
 */
@Data
@TableName(value ="ut_driver")
public class UtDriver implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long driverId;

    /**
     * 
     */
    private String driverUsername;

    /**
     * 
     */
    private String driverPassword;

    /**
     * 头像图片ID
     */
    private Long driverAvatarImgId;

    public Long provinceId;

    public Long cityId;

    public Long districtId;

    /**
     * 信誉度 0-100 默认80
     */
    private Integer creditLevel;

    private String driverRealName;

    private String driverPhone;

    /**
     * 
     */
    private Integer driverAge;

    /**
     * 性别 0男 1女 2未知
     */
    private Integer driverGender;

    /**
     * 身份证号
     */
    private String driverIdcard;

    /**
     * 身份证正面照片
     */
    private Long driverIdcard0;

    /**
     * 身份证反面照片
     */
    private Long driverIdcard1;

    /**
     * 驾驶证照片
     */
    private Long driverLicense;

    /**
     * 是否封禁
     */
    private Integer isBan;

    /**
     * 是否验证通过，由系统审核身份验证通过
     */
    private Integer isPassVerify;

    /**
     * 
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}